// 版心
.container {
    width: 1200px;
    margin: 0 auto;
}

// 左浮动
.fl {
    float: left;
}

// 右浮动
.fr {
    float: right;
}

// 清除浮动
.clearfix::after {
    display: block;
    content: '';
    clear: both;
    height: 0;
}

body,html{
    background: #f7e9e9;
}

// 页头
#header {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    background-color: #f2f2f2;
    font-size: 12px;
    color: #999;
    border-bottom: 1px solid #e8e8e8;
    a{
        color: #999;
    }
    .left{
        float: left;
    }
    .right{
        float: right;
    }
}

//搜索
#search {
    height: 124px;

    .logo {
        width: 88px;
        height: 54px;
        float: left;
        margin-left: 72px;
        margin-top: 42px;
      
    }

    .search-box {
        width: 633px;
        height: 34px;
        background-color: white;
        margin-top: 48px;
        margin-left: 86px;
        border: 1px solid #fe3f68;
        border-radius: 17px;
        float: left;
        input{
            width: 526px;
            height: 34px;
            border-top-left-radius: 16px;
            border-bottom-left-radius: 17px;
            font-size: 12px;
            padding-left: 17px;
            vertical-align: top;
            outline: none;
        }
        button{
            width: 90px;
            height: 34px;
            border-radius: 17px;
            background: #fe0137;
            color: white;
            font-size: 17px;
        }
    }

    .download {
        width: 100px;
        height: 100px;
        font-size: 12px;
        text-align: center;
        color: #666;
        box-shadow: 5px 5px 10px;
        background: white;
        float: right;
        margin: 10px 60px;

        img{
            width: 80px;
            height: 80px;
            margin: 2px 10px;
        }
    }
}

#page{
    width: 1160px;
    border-radius: 10px;
    padding: 20px 20px;
    background: rgb(255, 255, 255);
    margin-bottom: 120px;
    #navAndBanner{
        width: 1160px;
        height: 554px;
        margin-bottom: 44px;
        // 主题市场
        .themeMarket{
            width: 194px;
            height: 554px;
            float: left;
            h3{
                font-size: 17px;
                font-weight: bold;
                color: #fe0137;
                margin-bottom: 24px;
            }
            p{
                color: #666;
                font-size: 16px;
                margin-bottom: 14px;
                span{
                    margin:0 4px;
                    &:hover{
                        color: #fe0137;
                        cursor: pointer;
                    }
                }
            }
        }
        //右边的轮播和导航部分
        .right{
            width: 920px;
            height: 554px;
            float: right;
            .nav{
                width: 690px;
                height: 60px;
                li{      
                    height: 60px;
                    line-height: 60px;             
                    font-size: 14px;
                    float: left;
                    margin-right: 16px;
                    cursor: pointer;
                    &:hover{
                        color: #fe0137;
                    }
                }
            }

            .bottom{
                width: 920px;
                height: 514px;
                .swiper-all{
                    width: 520px;
                    height: 514px;
                    margin-right: 16px;
                    float: left;
                    // 第一个轮播
                    #first-rotation{
                        width: 520px;
                        height: 280px;
                        margin-bottom: 34px;
                        img{
                            width: 100%;
                            height: 100%;
                        }
                        --swiper-navigation-size: 25px;
                        --swiper-navigation-color:#fe3f68;
                        --swiper-pagination-color: #fe3f68;
                    }
                    // 第二个轮播
                    #second-rotation{
                        width: 520px;
                        height: 200px;
                        img{
                            width: 100%;
                            height: 100%;
                        }
                        --swiper-navigation-size: 25px;
                        --swiper-navigation-color:#fe3f68;
                        --swiper-pagination-color: #fe3f68;
                    }
                }
                .notice{
                    width: 356px;
                    height: 474px;
                    float: right;
                    border-radius: 10px;
                    background: #f3f3f3;
                    padding: 20px 14px;
                    .head-portrait{
                        width: 80px;
                        height: 80px;
                        margin-left: 138px;
                        margin-bottom: 12px;
                    }
                    p{
                        width: 356px;
                        font-size: 12px;
                        text-align: center;
                        margin-bottom: 18px;
                    }
                    .content{
                        width: 356px;
                        height: 98px;
                        font-size: 12px;
                        margin-top: 18px;
                        margin-bottom: 30px;
                        li{
                            margin-bottom: 10px;
                            color: #666;
                            span{
                                display: inline-block;
                                width: 32px;
                                height: 18px;
                                text-align: center;
                                line-height: 18px;
                                background: #f6e6e6;
                                color: #fe0137;
                                margin-right: 4px;
                                
                            }
                            h4{
                                display: inline-block;
                                color: #000;
                                font-weight: bold;
                                margin-right: 6px;
                            }
                        }
                   
                    }

                    .myTracks{
                        width: 60px;
                        height: 50px;
                        font-size: 12px;
                        text-align: center;
                        float: left;
                        margin-left: 14px;
                        margin-right: 15px;
                        cursor: pointer;
                        img{
                            display: block;
                            margin-left: 18px;
                            margin-bottom: 14px;
                        }
                    }
                }
            }
        }
    }
    #supermarket{
        width: 110px;
        height: 34px;
        border-radius: 17px;
        text-align: center;
        line-height: 34px;
        color: #fff;
        font-size: 19px;
        margin-bottom: 22px;
        background: #1dc577;
    }
    // 商品列表
    #product-list{
        $item-width:216px;
        width: 1160px;
     
        .item{
            width:  $item-width;
            height: 290px;           
            margin-right: 20px;
            margin-bottom: 10px;
            float: left;
            &:hover{
                box-shadow: 0px 10px 20px rgba(167, 165, 165, 0.438)
                
            }
            
            .picture{
                width:  $item-width;
                height:  $item-width;
                margin-bottom: 15px;
                pointer-events: none;
                img{
                    width:  $item-width;
                    height:  $item-width;
                    border-radius: 14px;
                    pointer-events: none;
                }
            }
            p{
                width:  $item-width;
                height: 20px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;  
                margin-bottom: 15px;
                pointer-events: none;
            }
            .price{
                height: 20px;
                pointer-events: none;
                p{
                  width: 120px;
                  color: red;    
                  float: left;
                  pointer-events: none;    
                }
                span{
                    display: block;
                    line-height: 20px;
                    font-size: 12px;
                    float: right;
                    pointer-events: none;
                }
                
            }
        }
        .item:nth-child(5n){
            margin-right: 0;
        }
    }
    // 查看更多
    #more{
        width: 1160px;
        height: 50px;
        text-align: center;
        margin-top: 40px;
        a{
            display: inline-block;
            width: 160px;
            height: 40px;
            background: #fe3f68;
            border-radius: 10px;
            text-align: center;
            line-height: 40px;
            color: #fff;
        }
    }

}

#copyright{
    height: 344px;
    background-color: black;
    color: white;
    border-top: 1px solid #ff0036;
    padding-top: 16px;
    .container{
        p{
            font-size: 12px;
            margin-bottom: 30px;
            a{
                margin: 0 4px;
                color: #fff;
                &:hover{
                    text-decoration: underline;
                }
            }
        }
    }
}

#goTop{
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 25px;
    color: #fff;
    background: #fe3f68;
    cursor: pointer;
    position: fixed;
    right: 10px;
    bottom: 20px;
}